<%@ Page Title="User Details" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" 
	Inherits="System.Web.Mvc.ViewPage<MindMelder.Core.User>" %>

<asp:Content ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <h2><%= ViewData.Model.FullName %>'s details</h2>

	<%= Html.ActionLink(ViewContext.TempData["skillslink"].ToString(), "Skills", new RouteValueDictionary { { "Id", ViewData.Model.Id }}) %>
	<%= Html.ActionLink("Send " + ViewData.Model.FullName + " a message", "SendMessage",
		new RouteValueDictionary { { "Id", ViewData.Model.Id }}) %>
    <ul>
		<li>
			<label for="User.FirstName">FirstName:</label>
            <span id="User.FirstName"><%= ViewData.Model.FirstName %></span>
		</li>
		<li>
			<label for="User.LastName">LastName:</label>
            <span id="User.LastName"><%= ViewData.Model.LastName %></span>
		</li>
		<li>
			<label for="User.Country">Country:</label>
            <span id="User.Country"><%= ViewData.Model.Country %></span>
		</li>
		<li>
			<label for="User.State">State:</label>
            <span id="User.State"><%= ViewData.Model.State %></span>
		</li>
		<li>
			<label for="User.Age">Age:</label>
            <span id="User.Age"><%= ViewData.Model.DisplayAge %></span>
		</li>
		<li>
			<label for="User.OpenId">OpenId:</label>
            <span id="User.OpenId"><%= ViewData.Model.OpenId %></span>
		</li>
	</ul>
</asp:Content>
